www.gusucode.com > 仿51.com的php源码 1.1 > 复件 index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无聊公寓-免费给无聊的朋友一个家!!</title> <style type="text/css">a:link{color:#2265b2;text-decoration:none}a:visited{color:#2265b2;text-decoration:none}a:hover{color:#2265b2;text-decoration:underline}body{font-size:12px;line-height:20px;margin:0;text-align:center}img{border:0}.input{border:1px solid #a4bcd5;width:100px;height:16px;margin:0 0 3px 0}#main{width:774px;margin:0 auto;text-align:left}#mb_main{width:165px;margin:8px 0 8px 16px}#ht{position:relative;top:95px;background-color:#367dc6;width:774px;height:23px} #mb{position:absolute;top:123px;width:192px;height:156px;border:1px solid #a3bad6;background-color:#f7f7f7}#mb_t{width:180px;height:21px;padding:5px 0 0 10px;margin:1px;background-image:url(images/bg_title_login.jpg);background-repeat:repeat-x;color:#fff;font-size:14px;font-weight:bold} #left2{position:absolute;top:286px;width:170px;height:118px;border:1px solid #a3bad6;background-color:#f7f7f7;padding:10px 6px 8px 16px}#left2 ul{margin:0;padding:0;list-style-type:none;margin-bottom:12px}#left2 ul a{text-decoration:underline}#left2 ul a:hover{text-decoration:none}#left2 ul li{background-image:url(images/bg_arrow1.gif);background-repeat:no-repeat;background-position:0 5px;padding:0 0 0 12px;margin-bottom:3px}#link_red{color:#f30}#link_black{}#left3{position:absolute;top:428px;width:192px;height:132px;border:1px solid #a3bad6;background-color:#f7f7f7}#left3_t{width:180px;height:21px;padding:5px 0 0 10px;margin:1px;background-color:#367dc6;color:#fff;font-size:14px;font-weight:bold}#left3_t a{color:#fff;text-decoration:underline}#left3_t a:hover{color:#fff;text-decoration:none}#left3 ul{margin:0;padding:0;list-style-type:none;margin:10px 6px 8px 16px}#left3 ul a{text-decoration:underline}#left3 ul a:hover{text-decoration:none}#left3 ul li{background-image:url(images/icon_love.jpg);background-repeat:no-repeat;background-position:0 3px;padding:0 0 0 14px;margin-bottom:1px} #left3_t{width:180px}#etc2{margin-right:90px} #mainpic{position:absolute;top:123px;margin-left:199px;} #newer{position:absolute;top:286px;margin-left:199px;width:573px;height:168spx;border:1px solid #a3bad6}#newer img{width:80px;height:90px}#newer_title{width:561px;height:21px;color:#2266af;font-size:14px;font-weight:bold;padding:4px 0 0 10px;margin:1px;background-image:url(images/bg_title_newer.jpg);background-repeat:repeat-x}#newer ul{padding:0;margin:12px 0 0 22px; list-style-type:none}#newer ul li{display:block;float:left;width:106px;line-height:22px;text-align:center}#newer ul li img{padding:6px;border:#999 1px solid;background-color:#fff} #etc{position:absolute;top:470px;margin-left:199px}#etc img{margin-left:5px} </style> <SCRIPT LANGUAGE="JavaScript"> /*********Js Function Begin*********/ function AppPopRandFriend() { var win1 = window.open("about:blank"); if(win1) { win1.document.open(); win1.document.write("<DIV style=\"font-size: 12px; line-height: 18px;\">正在打开对方主页,请稍候...</DIV>"); win1.document.close(); win1.location.href = "http://my.51.com/User/PopRandomUser.php?user=willwillyes"; win1.focus(); } } /*********Js Function End*********/ function check() { if(document.form1.passport_51_user.value=="") { alert("请输入用户名!"); document.form1.passport_51_user.focus(); return false } if(/[^a-zA-Z0-9_]/g.test(document.form1.passport_51_user.value) || /[^a-zA-Z]/g.test(document.form1.passport_51_user.value.substr(0,1))) { alert("用户名只能用数字或英文,并且必须为英文字母开头!"); document.form1.passport_51_password.focus(); return false; } if(document.form1.passport_51_password.value=="") { alert("请输入密码!"); document.form1.passport_51_password.focus(); return false } //document.form1.submit(); return true; } function check_username() { document.form1.passport_51_user.value = document.form1.passport_51_user.value.replace(/\s/g,""); } </SCRIPT> </head> <body> <div id="main"> <div id="ht"></div> <form name="form1" action="login.php?action=login" method="post"> <div id="mb"> <div id="mb_t">用户登录</div> <div id="mb_main">用户名: <input name="passport_51_user" class="input" onblur="check_username();"/> <br/>密 码: <input name="passport_51_password" type="password" class="input" /> <input type="checkbox" value="1" name="passport_51_ishidden" style="margin:4px 0 0 0;" /> <input type="hidden" name="gourl" value="User/Main.php"> 隐身 <input type="image" src="images/btn_login.jpg" alt="登录" width="94" height="19" border="0" style="vertical-align:middle" onclick="return check();"/> <img src="images/img_member_1.gif" alt="" width="156" height="22" /><img src="images/bg_arrow1.gif" width="12" height="7" /><a href="User/Reg.php" >立即注册</a> <img src="images/bg_arrow1.gif" width="12" height="7" /><a href="UserPasswd/PasswdReSet.php" >忘记密码</a> </div> </div> </form> <div id="left2"> <ul> <li><a href="http://my.51.com/User/Online.php" ><strong>看谁在线?</strong></a></li> <li><a href="javascript:AppPopRandFriend()">每次来,乱弹一下</a></li> <li><a href="http://bbs.51.com/gourl.php?refer=/index.html" target="_blank">进论坛,感受51顶级人气</a></li> <li><a href="http://my.51.com/User/GoSearch.php" ><strong>交友搜索</strong></a></li> <li><a href="#link" onclick="alert('问题报告,请联系客服电话:021-58390524');" id="link_black">问题报告</a> | <a href="http://www.51.com/yijian/index.php" id="link_black" >意见反馈</a></li> </ul> </div> <div id="left3"> <div id="left3_t"><span id="etc2"><a href="http://my.51.com/LoveWord/LoveWordList.php">51传情</a></span><a href="http://my.51.com/LoveWord/SendMyWord.php" >发布</a></div> <marquee direction='up' scrollamount='1' height='90'> <ul><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28384" target="_blank" >天天開心发给給全國51的網友的传情: 妳,你,開心嗎?不開心又是為了什麼呢?事..</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28383" target="_blank" >爱你无条件的传情: 虽然你在我身边,但我们有这种种误会,我不..</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28382" target="_blank" >︷渋dё颜sè发给sdyueyue的传情: 你给了我爱情没给我明天</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28381" target="_blank" >爱的深才知痛发给亲爱的小妮子的传情: 呵呵 !不知道怎么说 》我不是很会说话的..</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28377" target="_blank" >爱の简单发给ursula的传情: 妹妹生日快乐!!!!早日找到心中滴他....</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28374" target="_blank" >天天開心发给給全國51的網友的传情: 妳,你,開心嗎?不開心又是為了什麼呢?事..</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28373" target="_blank" >天天開心发给給全國51的網友的传情: 妳,你,開心嗎?不開心又是為了什麼呢?事..</a></li><li><a href="http://my.51.com/LoveWord/LoveWordView.php?view_id=28358" target="_blank" >溡の緔→▓芯芯发给亲耐的``淋淋的传情: ┈━═☆*樶愛妳▓;怼⒌來説﹎伱⒋最諥喓..</a></li></ul> <!-- cached at 2006-11-17 11:01:02 by mayer --> </marquee> </div> <div id="mainpic"> <img src="http://pic.51.com/images/hm/hmnew2/pic_main.jpg" alt="" width="575" height="158" border="0" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="103,102,215,134" href="http://my.51.com/User/Reg.php" /> </map> </div> <div id="newer"> <div id="newer_title">新人推荐<span style="margin-left:360px;font-size:12px;"> <a href="http://www.51.com/abc/abc.php?index" target="_blank" style="text-decoration:underline;">千娇百媚</a> <a href="http://www.51.com/abc/abc.php?id=55" target="_blank" style="text-decoration:underline;">玉树临风</a> </span></div> <ul> <li> <a href="http://ds01longlong.51.com" target="_blank"> <img src="http://www.51.com/websync/images/20061115182034_0000_001.jpg" alt="" width="80" height="90" /><br /> Ds01longlong</a> </li> <li> <a href="http://llangel520.51.com" target="_blank"> <img src="http://www.51.com/websync/images/20061115181951_0000_003.jpg" alt="" width="80" height="90" /><br /> Llangel520</a> </li> <li> <a href="http://meng0606.51.com" target="_blank"> <img src="http://www.51.com/websync/images/20061116183253_0000_097.jpg" alt="" width="80" height="90" /><br /> Meng0606</a> </li> <li> <a href="http://zhang364586490.51.com" target="_blank"> <img src="http://www.51.com/websync/images/20061116184054_0000_011.jpg" alt="" width="80" height="90" /><br /> Zhang364586490</a> </li> <li> <a href="http://wxl443728661.51.com" target="_blank"> <img src="http://www.51.com/websync/images/20061116183835_0000_058.jpg" alt="" width="80" height="90" /><br /> Wxl443728661</a> </li> </ul> </div> <div id="etc"><img src="http://pic.51.com/images/hm/hmnew2/pic_etc1.gif" alt="存储空间" width="182" height="91" style="margin-left:0" /><img src="http://pic.51.com/images/hm/hmnew2/pic_etc2.gif" alt="个人主页" width="182" height="91" /><img src="http://pic.51.com/images/hm/hmnew2/pic_etc3.gif" alt="真实交友" width="182" height="91" /><img src="http://pic.51.com/images/hm/hmnew2/pic_etc4.gif" width="13" height="91" /></div> <?php require("foot.php"); ?> </div> </body> </html>